package org.ahuanlien.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Setter@Getter
public class Task extends BaseDomain{
    //日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    //员工姓名
    private Employee emp;
    //部门
    private Department dept;
    //任务
    private String sn;
    //状态
    private Boolean state;
    //地点
    private String site;
    //任务内容
    private String content;


}